#region Using References

using Beaker.OpenCube.Mapping;

#endregion

namespace Beaker.OpenCube.Game.Mobs
{
	public sealed class Enderman
		: MobData
	{
		private BlockType _carried;

		/// <summary>
		/// Gets or sets the block id of the block carried by the enderman.
		/// </summary>
		/// <value>
		/// The block id of the block carried by the enderman.
		/// </value>
		[Mapping( Name = "carried" )]
		public BlockType Carried
		{
			get { return _carried; }
			set { SetValue( ref _carried, value ); }
		}

		private short _carriedData;

		/// <summary>
		/// Gets or sets the extra block data of the block carried by the enderman.
		/// </summary>
		/// <value>
		/// The extra block data of the block carried by the enderman.
		/// </value>
		[Mapping( Name = "carriedData" )]
		public short CarriedData
		{
			get { return _carriedData; }
			set { SetValue( ref _carriedData, value ); }
		}
	}
}